package com.sky.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "sky.alioss")
@Data
public class AliOssProperties {

    /**
     * Bucket所在地域对应的Endpoint
     */
    private String endpoint;
    /**
     *  秘钥ID
     */
    private String accessKeyId;
    /**
     * 秘钥签名
     */
    private String accessKeySecret;
    /**
     * 桶名
     */
    private String bucketName;

}
